﻿<UserControl x:Class="FirstFloor.ModernUI.App.Pages.items.EditDeleteItemCont"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:mui="http://firstfloorsoftware.com/ModernUI"
             mc:Ignorable="d" ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible" SelectiveScrollingGrid.SelectiveScrollingOrientation="Both" d:DesignWidth="898" Width="Auto">
    <Grid ScrollViewer.HorizontalScrollBarVisibility="Auto" SelectiveScrollingGrid.SelectiveScrollingOrientation="Both" Focusable="True" ScrollViewer.CanContentScroll="True" UseLayoutRounding="True" ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="Top">
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <ScrollViewer Margin="0,39,46,0" VerticalScrollBarVisibility="Auto" CanContentScroll="True" HorizontalScrollBarVisibility="Auto" VerticalAlignment="Top">
            <Grid ScrollViewer.CanContentScroll="True" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" UseLayoutRounding="True" HorizontalAlignment="Center" VerticalAlignment="Center">
                <GroupBox Header="   بيانات الصنف   " HorizontalAlignment="Left" VerticalAlignment="Top" Height="245" Width="848" FlowDirection="RightToLeft" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold">
                    <Grid HorizontalAlignment="Right" Height="222" VerticalAlignment="Top" Width="845">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="167*"/>
                            <RowDefinition/>
                        </Grid.RowDefinitions>
                        <Label Content="الأسم التجارى للصنف :" HorizontalAlignment="Left" Margin="12,58,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="199" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <TextBox x:Name="txt_CommName" HorizontalAlignment="Left" Height="32" Margin="216,58,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="283" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Label Content="اسم المنتج :" HorizontalAlignment="Left" Margin="12,21,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="114" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <TextBox x:Name="txt_ProdName" HorizontalAlignment="Left" Height="32" Margin="131,21,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="368" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" TextChanged="txt_ProdName_TextChanged"/>
                        <Label Content="الشركةالمصنعة :" HorizontalAlignment="Left" Margin="12,95,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="142" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <TextBox x:Name="txt_CompName" HorizontalAlignment="Left" Height="32" Margin="159,95,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="340" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Label Content="الصنف البديل :" HorizontalAlignment="Left" Margin="12,132,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="142" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <TextBox x:Name="txt_AlternativeProd" HorizontalAlignment="Left" Height="32" Margin="159,132,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="340" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Label Content="الباركود :" HorizontalAlignment="Left" Margin="12,169,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="81" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <TextBox x:Name="txtbx_barcode" HorizontalAlignment="Left" Height="32" Margin="234,169,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="265" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <RadioButton x:Name="auto_barcode_chk" Content="تلقائى" HorizontalAlignment="Left" Margin="107,173,0,0" VerticalAlignment="Top" Height="28" Width="61" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="18" Checked="RadioButton_Checked" IsChecked="True"/>
                        <RadioButton x:Name="man_barcode_chk" Content="يدوى" HorizontalAlignment="Left" Margin="173,173,0,0" VerticalAlignment="Top" Height="28" Width="61" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="18" Checked="man_barcode_chk_Checked"/>
                        <Button Content="إنشاء صورة باركود" HorizontalAlignment="Left" Margin="515,169,0,0" VerticalAlignment="Top" Width="120" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="14" Height="32"/>
                        <GroupBox Header="  صورة  " HorizontalAlignment="Left" Margin="648,0,0,0" VerticalAlignment="Top" Height="211" Width="187" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold">
                            <Grid HorizontalAlignment="Left" Height="185" VerticalAlignment="Top" Width="183" Margin="2,0,-2,0">
                                <Label Content="صورة الصنف" HorizontalAlignment="Left" Margin="686,10,-618,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="115" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                                <Image HorizontalAlignment="Left" Height="139" Margin="817,39,-793,0" VerticalAlignment="Top" Width="159"/>
                                <Button Content="حذف صورة" HorizontalAlignment="Left" Margin="743,183,-650,-26" VerticalAlignment="Top" Width="90" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="14"/>
                                <Button Content="إضافة صورة" HorizontalAlignment="Left" Margin="648,183,-555,-26" VerticalAlignment="Top" Width="90" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="14" Height="28"/>
                                <Label Content="صورة الصنف" HorizontalAlignment="Left" Margin="686,10,-618,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="115" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                                <Image HorizontalAlignment="Left" Height="139" Margin="817,39,-793,0" VerticalAlignment="Top" Width="159"/>
                                <Button Content="حذف صورة" HorizontalAlignment="Left" Margin="743,183,-650,-26" VerticalAlignment="Top" Width="90" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="14"/>
                                <Button Content="إضافة صورة" HorizontalAlignment="Left" Margin="648,183,-555,-26" VerticalAlignment="Top" Width="90" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="14" Height="28"/>
                                <Label Content="صورة الصنف" HorizontalAlignment="Left" Margin="686,10,-618,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="115" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                                <Image HorizontalAlignment="Left" Height="139" Margin="817,39,-793,0" VerticalAlignment="Top" Width="159"/>
                                <Button Content="حذف صورة" HorizontalAlignment="Left" Margin="743,183,-650,-26" VerticalAlignment="Top" Width="90" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="14"/>
                                <Button Content="إضافة صورة" HorizontalAlignment="Left" Margin="648,183,-555,-26" VerticalAlignment="Top" Width="90" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="14" Height="28"/>
                            </Grid>
                        </GroupBox>
                        <Label Content="صورة الصنف" HorizontalAlignment="Left" Margin="686,10,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="115" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Image HorizontalAlignment="Left" Height="135" Margin="820,40,-133,0" VerticalAlignment="Top" Width="158"/>
                        <Button x:Name="btn_deleteImage" Content="حذف صورة" HorizontalAlignment="Left" Margin="743,175,0,0" VerticalAlignment="Top" Width="87" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="14"/>
                        <Button x:Name="btn_AddImage" Content="إضافة صورة" HorizontalAlignment="Left" Margin="653,175,0,0" VerticalAlignment="Top" Width="90" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="14" Height="28"/>
                    </Grid>
                </GroupBox>
                <GroupBox Header="   التصنيف   " HorizontalAlignment="Left" VerticalAlignment="Top" Height="106" Width="848" FlowDirection="RightToLeft" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" Margin="0,262,0,0">
                    <Grid HorizontalAlignment="Left" Height="85" VerticalAlignment="Top" Width="836">
                        <Label Content="تصنيف أساسى :" HorizontalAlignment="Left" Margin="12,21,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="185" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Label Content="تصنيف فرعى :" HorizontalAlignment="Left" Margin="351,21,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="185" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <ComboBox x:Name="Cbo_BasicClass" HorizontalAlignment="Left" Margin="157,21,0,0" VerticalAlignment="Top" Width="173" Height="32" ScrollViewer.CanContentScroll="True" BorderThickness="4" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Button x:Name="btn_MangeClass" Content="إدارة التصنيفات" HorizontalAlignment="Left" Margin="690,21,0,0" VerticalAlignment="Top" Width="123" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="14" Height="32"/>
                        <ComboBox x:Name="cbo_BranshClass" HorizontalAlignment="Left" Margin="492,21,0,0" VerticalAlignment="Top" Width="173" Height="32" ScrollViewer.CanContentScroll="True" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                    </Grid>
                </GroupBox>
                <GroupBox Header="   وحدة المنتج   " HorizontalAlignment="Left" VerticalAlignment="Top" Height="106" Width="848" FlowDirection="RightToLeft" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" Margin="0,388,0,0">
                    <Grid HorizontalAlignment="Left" Height="85" VerticalAlignment="Top" Width="836" Margin="0,0,0,-1">
                        <Label Content="الوحدة الأساسية :" HorizontalAlignment="Left" Margin="10,21,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="175" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Label Content="الوحدة الفرعية :" HorizontalAlignment="Left" Margin="351,21,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="185" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <ComboBox x:Name="cbo_BasicUnit" HorizontalAlignment="Left" Margin="173,21,0,0" VerticalAlignment="Top" Width="173" Height="32" ScrollViewer.CanContentScroll="True" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Button x:Name="Btn_MangeUnit" Content="إدارة الوحدات" HorizontalAlignment="Left" Margin="690,21,0,0" VerticalAlignment="Top" Width="123" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="14" Height="32"/>
                        <ComboBox x:Name="Cbo_BranchUnit" HorizontalAlignment="Left" Margin="512,21,0,0" VerticalAlignment="Top" Width="173" Height="32" ScrollViewer.CanContentScroll="True" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                    </Grid>
                </GroupBox>
                <GroupBox Header="   السعر   " HorizontalAlignment="Left" VerticalAlignment="Top" Height="104" Width="848" FlowDirection="RightToLeft" Margin="2,1210,0,0" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold">
                    <Grid HorizontalAlignment="Left" Height="94" VerticalAlignment="Top" Width="836" Margin="0,0,0,-12">
                        <Label Content="سعر البيع للمستهلك :" HorizontalAlignment="Left" Margin="12,21,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="185" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <TextBox x:Name="txt_CusPrice" HorizontalAlignment="Left" Height="32" Margin="197,21,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="70" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Label Content="سعر البيع للجملة :" HorizontalAlignment="Left" Margin="293,21,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="185" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <TextBox x:Name="txt_WholesalePrice" HorizontalAlignment="Left" Height="32" Margin="466,21,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="70" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Label Content="سعر الشراء من المورد : :" HorizontalAlignment="Left" Margin="552,21,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="191" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" RenderTransformOrigin="-0.032,0.469"/>
                        <TextBox x:Name="txt_ResourcePrice" HorizontalAlignment="Left" Height="32" Margin="748,21,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="78" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                    </Grid>
                </GroupBox>
                <GroupBox Header="   المخزون   " HorizontalAlignment="Left" VerticalAlignment="Top" Height="289" Width="850" FlowDirection="RightToLeft" Margin="0,508,0,0" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold">
                    <Grid HorizontalAlignment="Left" Width="836" Margin="0,0,0,-12">
                        <Label Content="رقم / إسم المخزن :" HorizontalAlignment="Left" Margin="12,21,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="160" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Label Content="أدخل كمية الوحدة الأساسية :" HorizontalAlignment="Left" Margin="10,63,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="264" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" RenderTransformOrigin="-0.032,0.469"/>
                        <TextBox x:Name="txt_BaseQty" HorizontalAlignment="Left" Height="32" Margin="284,63,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="108" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <ComboBox x:Name="cbo_StoreName" HorizontalAlignment="Left" Margin="177,21,0,0" VerticalAlignment="Top" Width="206" Height="32" ScrollViewer.CanContentScroll="True" BorderThickness="4" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Label Content="أدخل كمية الوحدة الفرعية :" HorizontalAlignment="Left" Margin="429,63,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="256" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" RenderTransformOrigin="-0.032,0.469"/>
                        <TextBox x:Name="txt_BranchQty" HorizontalAlignment="Left" Height="32" Margin="690,63,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="108" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Button x:Name="btn_StoreMange" Content="إضافة / إدارة المخازن" HorizontalAlignment="Left" Margin="450,21,0,0" VerticalAlignment="Top" Width="133" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="14" Height="32"/>
                        <TextBox x:Name="txt_totalQTy" HorizontalAlignment="Left" Height="32" Margin="616,227,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="108" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" IsReadOnly="True" IsEnabled="False"/>
                        <ComboBox x:Name="cbo_total" HorizontalAlignment="Left" Margin="401,227,0,0" VerticalAlignment="Top" Width="182" Height="32" ScrollViewer.CanContentScroll="True" BorderThickness="4" SelectionChanged="cbo_total_SelectionChanged" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" >
                            <ComboBoxItem Content="بالوحدة الاساسية" HorizontalAlignment="Left" Width="204" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="24"/>
                            <ComboBoxItem Content="بالوحدة الفرعية" HorizontalAlignment="Left" Width="204" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="24"/>
                        </ComboBox>
                        <Label Content=" الكمية الاجمالية الحالية فى جميع المخازن:" HorizontalAlignment="Left" Margin="12,227,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="370" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Label Content="التبليغ عند وصول المخزون الحالى الى :" HorizontalAlignment="Left" Margin="10,114,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="334" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" RenderTransformOrigin="-0.032,0.469"/>
                        <TextBox x:Name="txt_BaseQty_Copy" HorizontalAlignment="Left" Height="32" Margin="349,114,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="80" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <ComboBox x:Name="cbo_total_Copy" HorizontalAlignment="Left" Margin="450,114,0,0" VerticalAlignment="Top" Width="150" Height="32" ScrollViewer.CanContentScroll="True" BorderThickness="4" SelectionChanged="cbo_total_SelectionChanged" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" >
                            <ComboBoxItem Content="بالوحدة الاساسية" HorizontalAlignment="Left" Width="204" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="24"/>
                            <ComboBoxItem Content="بالوحدة الفرعية" HorizontalAlignment="Left" Width="204" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="24"/>
                        </ComboBox>
                        <Label Content="( فى المخزن الحالى )" HorizontalAlignment="Left" Margin="616,114,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="182" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" RenderTransformOrigin="-0.032,0.469"/>
                        <Label Content="التبليغ عند وصول المخزون الحالى الى :" HorizontalAlignment="Left" Margin="10,160,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="334" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" RenderTransformOrigin="-0.032,0.469"/>
                        <TextBox x:Name="txt_BaseQty_Copy1" HorizontalAlignment="Left" Height="32" Margin="349,160,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="80" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <ComboBox x:Name="cbo_total_Copy1" HorizontalAlignment="Left" Margin="450,160,0,0" VerticalAlignment="Top" Width="150" Height="32" ScrollViewer.CanContentScroll="True" BorderThickness="4" SelectionChanged="cbo_total_SelectionChanged" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" >
                            <ComboBoxItem Content="بالوحدة الاساسية" HorizontalAlignment="Left" Width="204" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="24"/>
                            <ComboBoxItem Content="بالوحدة الفرعية" HorizontalAlignment="Left" Width="204" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="24"/>
                        </ComboBox>
                        <Label Content="( فى إجمالى المخازن )" HorizontalAlignment="Left" Margin="616,160,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="182" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" RenderTransformOrigin="-0.032,0.469"/>
                    </Grid>
                </GroupBox>
                <GroupBox Header="   أخرى   " HorizontalAlignment="Left" VerticalAlignment="Top" Height="151" Width="848" FlowDirection="RightToLeft" Margin="2,1041,0,0" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold">
                    <Grid HorizontalAlignment="Left" Height="141" VerticalAlignment="Top" Width="836" Margin="0,0,0,-12">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Label Content="ملاحظات على المنتج :" HorizontalAlignment="Left" Margin="12,21,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="185" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <TextBox x:Name="txt_Notes" HorizontalAlignment="Left" Height="32" Margin="197,21,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="459" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Label Content="لا يصرف إلا بعلم المختص :" HorizontalAlignment="Left" Margin="12,58,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="252" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Label Content="المنتج يحتوى على مواد خطرة :" HorizontalAlignment="Left" Margin="364,58,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="257" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" RenderTransformOrigin="-0.032,0.469"/>
                        <CheckBox x:Name="Chb_Hazmat" Content="" HorizontalAlignment="Left" Margin="649,61,0,0" VerticalAlignment="Top" Height="29" Width="23" FlowDirection="LeftToRight" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <CheckBox x:Name="Chb_Permission" Content="" HorizontalAlignment="Left" Margin="264,61,0,0" VerticalAlignment="Top" Height="29" Width="23" FlowDirection="LeftToRight" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                    </Grid>
                </GroupBox>
                <Button x:Name="btn_save" Content="حفظ" HorizontalAlignment="Left" Margin="526,1329,0,0" VerticalAlignment="Top" Width="162" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="48" Height="63"/>
                <Button x:Name="btn_cancel" Content="إلغاء" HorizontalAlignment="Left" Margin="161,1329,0,0" VerticalAlignment="Top" Width="162" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="48" Height="63"/>
                <GroupBox Header="   تاريخ الصلاحية   " HorizontalAlignment="Left" VerticalAlignment="Top" Height="207" Width="848" FlowDirection="RightToLeft" Margin="0,811,0,0" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold">
                    <Grid HorizontalAlignment="Left" Height="182" VerticalAlignment="Top" Width="836">
                        <Label Content="رقم الباتش :" HorizontalAlignment="Left" Margin="12,21,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="115" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <TextBox x:Name="txt_BatchNo" HorizontalAlignment="Left" Height="32" Margin="281,21,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="332" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Label Content="تاريخ الأنتاج :" HorizontalAlignment="Left" Margin="12,76,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="185" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <RadioButton x:Name="Rb_BatchNoManual" Content="يدوى" HorizontalAlignment="Left" Margin="208,28,0,0" VerticalAlignment="Top" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="18"/>
                        <RadioButton x:Name="Rb_BatchNoAuto" Content="تلقائى" HorizontalAlignment="Left" Margin="132,28,0,0" VerticalAlignment="Top" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="18" IsChecked="True"/>
                        <Label Content="تاريخ الإنتهاء :" HorizontalAlignment="Left" Margin="428,76,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="185" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <Label Content="المدة بين تاريخى الإنتاج والإنتهاء بالأيام :" HorizontalAlignment="Left" Margin="12,132,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="352" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <TextBox x:Name="txt_DifDate1" HorizontalAlignment="Left" Height="32" Margin="369,132,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="55" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" IsEnabled="False"/>
                        <Label Content="المدة المتبقية منذ تاريخ اليوم بالأيام :" HorizontalAlignment="Left" Margin="439,132,0,0" VerticalAlignment="Top" FontSize="26" Height="32" Width="317" FontWeight="Bold" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold"/>
                        <TextBox x:Name="txt_DifFromNowDate" HorizontalAlignment="Left" Height="32" Margin="761,132,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="55" ClipToBounds="True" FontSize="22" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" IsEnabled="False"/>
                        <Button x:Name="Btn_CreateBatch" Content="إنشاء صورة لرقم الباتش" HorizontalAlignment="Left" Margin="644,21,0,0" VerticalAlignment="Top" Width="149" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="14" Height="32"/>
                        <DatePicker x:Name="txt_ProdDate"  HorizontalAlignment="Left" VerticalAlignment="Top" Margin="151,76,0,0" Height="32" Width="147" Text="test" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="22" FlowDirection="LeftToRight" />
                        <DatePicker x:Name="txt_ExpDate" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="577,77,0,0" Height="32" Width="147" Text="test" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="22" FlowDirection="LeftToRight"/>
                    </Grid>
                </GroupBox>
                <Button x:Name="btn_delete" Content="مسح" HorizontalAlignment="Left" Margin="343,1329,0,0" VerticalAlignment="Top" Width="162" FontFamily="/ModernUIDemo;component/Content/font/#(AH) Manal Bold" FontSize="48" Height="63"/>
            </Grid>
        </ScrollViewer>
    </Grid>
</UserControl>
